dd.project.uip({
    init:function()
    {
        dd(dd.body).empty(); // Empty Body
        var ui = dd(dd.body).addControl("ui"); // Add UI
        // Navigate init
        dd(ui).navigate("index", "home", { "foo": "bar" });
        //var console = dd(ui).addControl("console", {
        //    width:20
        //});
        /*dd(ui).addControl("textblock", {
            x:10,
            y:12,
            text:"Need to setup the box model next"
        });
        var text = dd(ui).addControl("textbox", {
            x:10,
            y:90,
            width:200,
            text:"Test j"
        });
        var btn = dd(ui).addControl("button", {
            text:"Click",
            x:30,
            y:40,
            width:80,
            height:40
        });
        dd(btn).event({
            click:function()
            {
                dd(this).disabled = true;
                dd(this).text = "Disabled";
            }
        });
        var reset = dd(ui).addControl("button", {
            text:"Reset",
            x:120,
            y:40
        });
        dd(reset).event({
            click:function()
            {
                dd(this.btn).disabled = false;
                dd(this.btn).text = "Click";
                dd(this.text).x += 30;
            }
        }, {btn:btn, text:text});
        var reset = dd(ui).addControl("script", {
            text:"On Use: # Event\n"
                + "    Increase User.Health 20 # Increase Health",
            x:10,
            y:120,
            width: 440
        });*/
        /*
        dd(ui).addControl("textblock", {
            text:"A SVG UI Button",
            x:10,
            y:10
        });
        
        var ui = addControl("ui");
        dd(ui).addControl("button", {
            label:"test",
            x:10,
            y:20,
            width:100
        });
        */
    }
});